Electronic device with icon



FIG. 1 is a front view of an electronic device with icon, showing just the icon of FIG. 2 applied to a display screen or portion thereof; and,

FIG. 2 is a front view of an electronic device with icon.

The broken lines in FIG. 1 show a display screen or portion thereof, and form no part of the claimed design. The broken lines in FIG. 2 show an electronic device having a display screen, and form no part of the claimed design. 

CLAIM The ornamental design for an electronic device with icon, as shown and described. 